$(function(){
    var timer = null;
    $(document).on("mouseover",".menu-nav a",function(){
    	console.log(1)
       clearInterval(timer);
       $(this).siblings("ul").css("display","block");
       $(this).parent("li").siblings("li").children("ul").css("display","none");
    }).on("mouseout",".menu-nav a",function(){
       timer = setTimeout(function(){
           $(".menu-nav ul").css("display","none");
       },500);
    });
});